using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class VipsExtend
{
		public static ResponseVipsDto ToResponseDto(this Vips entity)
{			return new ResponseVipsDto
			{
				id = entity.VId,
				name = entity.VName,
				description = entity.VDescription,
				foeverDiscount = entity.VFoeverDiscount,
				level = entity.VLevel,
				createTime = entity.VCreateTime,
			};
		}
	}
}
